#ifndef __hashmap_h__
#define __hashmap_h__ 

struct hashmap;


typedef void (* callback)(void *value);

struct hashmap *hashmap_new();
void hashmap_release(struct hashmap *map);
void hashmap_push(struct hashmap *map, const char *key, void *value);
void *hashmap_get(struct hashmap *map, const char *key);
int hashmap_size(struct hashmap *map);
void hashmap_dump(struct hashmap *map, callback cb);


#endif

